package cn.ljy.authority.web.controller.backstage.quicksnip;


import cn.ljy.authority.model.SysCustomer;
import cn.ljy.authority.model.query.SysCustomerQuery;
import cn.ljy.authority.service.SysCustomerService;
import cn.ljy.authority.web.controller.backstage.BaseBackstageController;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "客户管理")
@RestController
@RequestMapping(value = "/backstage/sys/customer")
public class SysCustomerController extends BaseBackstageController<SysCustomer, SysCustomerQuery,String> {

    @Autowired
    private SysCustomerService baseService;

    @Override
    public String getAuthorityPrefix() {
        return "sys:customer"; // 定义模块权限前缀
    }


}
